package common.html;

public class Css
{
    String className;
    final static String CLASS_ATTR_NAME = "class";

    public Css(String className)
    {
        this.className = className;
    }

    public void add(Tag tag)
    {
        tag.putAttr(CLASS_ATTR_NAME, className);
    }

    public void remove(Tag tag)
    {
        tag.putAttr(CLASS_ATTR_NAME, "");
    }

}
